home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
net
/
parnet-3.2
/
extras
/
parpc
/
amigafiles
/
sources
/
stream.h
< prev
next >
Wrap
Text File
|
1995-03-09
|
483b
|
23 lines
/*
* STREAM.H
*/
#define ST_DONE 0 /* no state */
#define ST_CONNECT1 1 /* connect request & ToPort */
#define ST_CONNECT2 2 /* request acknowledged & FromPort */
#define ST_CONNECTD 3 /* connect - data, begin stream */
#define ST_CONNECTF 4 /* connect - fail */
#define ST_RMASK 0xF0 /* retry */
#define ST_RINCR 0x10
#define ST_RMAX 0x20
typedef struct {
ubyte Cmd;
ubyte Reserved;
uword MyPort;
uword YourPort;
} StreamCmd;